lcFontAddFile Home

Adds a font from LCF file into the list of available fonts.

 HANDLE lcFontAddFile (
   LPCWSTR szFontName,
   LPCWSTR szFilename
 );

Parameters
szFontName
  Font name.
If NULL or empty string is specified, then the loaded font will have a name as defined inside of the font. If the string is valid, then the font name will be redefined in the application.
szFilename
  Font filename (*.lcf).

Return Value

  Handle to the added font.
If the function fails, the return value is NULL.

See Also

  lcFontAddRes